package software_construction.PatternProject.d2_factory.demo4.factory;


import software_construction.PatternProject.d2_factory.demo4.cpu.AmdCpu;
import software_construction.PatternProject.d2_factory.demo4.cpu.Cpu;
import software_construction.PatternProject.d2_factory.demo4.memory.AmdMemory;
import software_construction.PatternProject.d2_factory.demo4.memory.Memory;

public class AmdFactory implements DigitalFactory {

    @Override
    public Cpu createCpu() {
        return new AmdCpu();
    }

    @Override
    public Memory createMemory() {
        return new AmdMemory();
    }
}
